package com.nc.mem.serial.graph.cust;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Instructs the Factory to create custom instructions to take advantage of the knowledge that a
 * specific collection will hold only non-null objects of a single type. This improve both the
 * performance and reduce the total amount of bytes to serialize the collection.
 * 
 * @author cmuramoto
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface NotNullNonPolymorphic {

}
